package edu.nf.ch06.method;

import edu.nf.ch06.product.Phone;

/**
 * @author wangl
 * @date 2025/4/15
 */
public class Main {

    public static void main(String[] args) {
        ProductFactory factory = new IPhoneFactory();
        Phone phone = factory.create();
        phone.call();
    }
}